<?=View::factory('admin/common/header')?>
<div id="content">
  <div class="breadcrumb">
    <a href="<?=URL::site('admin')?>">管理首页</a>
    &raquo; <a href="<?=URL::site('admin/manager_role')?>">管理员角色</a>
    &raquo; 添加角色
  </div>
  <?=View::factory('admin/common/message')?>
  <div class="box">
    <div class="heading">
      <h1><img src="<?=URL::base()?>images/admin/user-group.png" alt="" /> 角色</h1>
      <div class="buttons">
        <input type="button" onclick="$('#form').ajax_post({redirect:'<?=URL::site('admin/manager_role')?>'});" class="btn45" value="保存" /> &nbsp;
        <input type="button" onclick="history.back();" class="btn45" value="返回" />
      </div>
    </div>
    <div class="content">
      <form method="post" enctype="multipart/form-data" id="form" onsubmit="return $('#form').ajax_post({redirect:'<?=URL::site('admin/manager_role')?>'});">
        <table class="form">
          <tr>
            <td width="120">角色名称 <span class="required">*</span></td>
            <td><input type="text" size="50"  maxlength="50" name="role_name" /></td>
          </tr>
          <tr>
            <td>排序</td>
            <td><input type="text" size="5"  maxlength="5" name="sort_order" value="0" /></td>
          </tr>
        </table>
      </form>
    </div>
</div>
<?=View::factory('admin/common/footer')?>
<script type="text/javascript">
$().ready(function(){
    $('#system').addClass('selected');
});
</script>